<?php
/**
 * Field
 * 
 * @package SQL
 * @subpackage Query
 *
 */
class Lead_Sql_Query_Field
{
	private $_query;	
	private $_name;
	private $_table;
	
	public function __construct(Lead_Sql_Query $query, $table, $name)
	{
		$this->_query = $query;
		$this->_table = $table;
		$this->_name = $name;
		
			
	}
	
	
	public function getSQLName()
	{
	   return $this->_table . '.' . $this->_name;
	}
	
	
	public function getName()
	{
	    return $this->_name;
	}
		
}